
public class Administrator {

	private long usernumber; //administrators usernumber
	private int password; //administrators password
	
	public Administrator(long adminUsernumber, int adminPassword)
	{
		usernumber = adminUsernumber;
		password = adminPassword;
	}
	
	//returns administrators usernumber
	public long getUsernumber()
	{
		return usernumber;
	} // end method getUsernumber
	
	// validates administrators password
	public boolean validatePass( int userPass )
	{
	   if ( userPass == password )
	      return true;
	   else
	      return false;
	} // end method validatePIN

}//end class
